package com.ly.heart.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.AssetsStatusEntity;

/**
 * 资产状态Mapper接口
 *
 * @author cxl
 * @date 2024-09-03
 */
public interface AssetsStatusMapper extends BaseMapper<AssetsStatusEntity> {
    /**
     * 查询资产状态
     *
     * @param id 资产状态ID
     * @return 资产状态
     */
    public AssetsStatusEntity selectAssetsStatusEntityById(String id);

    /**
     * 查询资产状态列表
     *
     * @param assetsStatusEntity 资产状态
     * @return 资产状态集合
     */
    public List<AssetsStatusEntity> selectAssetsStatusEntityList(AssetsStatusEntity assetsStatusEntity);

    /**
     * 新增资产状态
     *
     * @param assetsStatusEntity 资产状态
     * @return 结果
     */
    public int insertAssetsStatusEntity(AssetsStatusEntity assetsStatusEntity);

    /**
     * 修改资产状态
     *
     * @param assetsStatusEntity 资产状态
     * @return 结果
     */
    public int updateAssetsStatusEntity(AssetsStatusEntity assetsStatusEntity);

    /**
     * 删除资产状态
     *
     * @param id 资产状态ID
     * @return 结果
     */
    public int deleteAssetsStatusEntityById(String id);

    /**
     * 批量删除资产状态
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteAssetsStatusEntityByIds(String[] ids);
}
